package com.yyw.common.to.productsearch;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 易煜玮
 * @ClassName SpuInfoTo.java
 * @Description 传输给ES的TO
 * @createTime 2020年11月23日 21:12:00
 */
@Data
public class SpuInfoTo {
    private static final long serialVersionUID = 1L;
    private Long skuId;
    private Long spuId;
    private String skuTitle;
    private BigDecimal skuPrice;
    private String skuImg;
    /**
     * 销量
     */
    private Long saleCount;
    /**
     * 是否有库存
     */
    private Boolean hasStock;
    /**
     * 热度
     */
    private Long hotScore;
    private Long brandId;
    private Long catalogId;
    private String brandName;
    private String brandImg;
    private String catalogName;
    private List<AttrTo> attrs;

}


